package cn.tedu.yushougeproduct.mapper;

import cn.tedu.yushougeproduct.pojo.entity.CartSkuItem;
import cn.tedu.yushougeproduct.pojo.vo.AttributeStandardVO;
import cn.tedu.yushougeproduct.pojo.vo.BrandListItemVO;
import cn.tedu.yushougeproduct.pojo.vo.CartSkuItemStandardVO;
import cn.tedu.yushougeproduct.pojo.vo.ShoppingCartItemListVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CartSkuItemMapper extends BaseMapper<CartSkuItem> {

    int deleteByCartId(Long cartId);

    CartSkuItemStandardVO getStandardById(Long id);

    List<ShoppingCartItemListVO> listByCartId(Long cartId);


}
